a = 5
b = 2

print("--------------------- 赋值")
a += b
print(a)  # 7

a /= b
print(a)  # 3.5

a //= b
print(a)  # 1.0

print(5 % 2)  # 1

print(5 ** 2)  # 25

print("--------------------- 比较")
a = 5
b = 2
print(5 <= 2)
print(5 != 2)
print(a >= b)
print(a == b)

print("--------------------- 逻辑")

print("True and False: ", True and False)

print("True or False: ", True or False)

print("not True: ", not True)

